<%--
  Created by IntelliJ IDEA.
  User: linshi-3
  Date: 2017/1/20
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<html>
<head>
    <title>首页</title>
</head>
<body>
 <h1>这是首页</h1>
当前用户:<sec:authentication property="name"/>
</body>
</html>
